package com.alm.token.ui.data.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by en on 2019/1/22.
 */

public class MiningWalletTypeIndexData {


    /**
     * msg : 操作成功
     * status : 0
     * data : {"money":"0.0077","channelList":[{"name":"","type":49},{"name":"","type":50},{"name":"","type":51},{"name":"","type":52}],"incomeTypeList":[{"name":"收入","type":1},{"name":"支出","type":2}]}
     * success : true
     * timestamp : 1568718821385
     * total : null
     */

    private String msg;
    private int status;
    private DataBean data;
    private boolean success;
    private long timestamp;
    private Object total;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public Object getTotal() {
        return total;
    }

    public void setTotal(Object total) {
        this.total = total;
    }

    public static class DataBean implements Serializable {
        /**
         * money : 0.0077
         * channelList : [{"name":"","type":49},{"name":"","type":50},{"name":"","type":51},{"name":"","type":52}]
         * incomeTypeList : [{"name":"收入","type":1},{"name":"支出","type":2}]
         */

        private double money;
        private List<ChannelListBean> channelList;
        private List<IncomeTypeListBean> incomeTypeList;

        public double getMoney() {
            return money;
        }

        public void setMoney(double money) {
            this.money = money;
        }

        public List<ChannelListBean> getChannelList() {
            return channelList;
        }

        public void setChannelList(List<ChannelListBean> channelList) {
            this.channelList = channelList;
        }

        public List<IncomeTypeListBean> getIncomeTypeList() {
            return incomeTypeList;
        }

        public void setIncomeTypeList(List<IncomeTypeListBean> incomeTypeList) {
            this.incomeTypeList = incomeTypeList;
        }

        public static class ChannelListBean  implements Serializable{
            /**
             * name :
             * type : 49
             */

            private String name;
            private int type;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }
        }

        public static class IncomeTypeListBean implements Serializable{
            /**
             * name : 收入
             * type : 1
             */

            private String name;
            private int type;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public int getType() {
                return type;
            }

            public void setType(int type) {
                this.type = type;
            }
        }
    }
}
